import { defineStore } from 'pinia'
import { ref } from 'vue'

export const useWallStore = defineStore(
  'wall',
  () => {
    let classList = ref([])
    let classListTotal = ref(1)
    let classificationName = ref('壁纸列表')
    // pet
    let petDetail = ref([])
    // 搜索
    let historySearch = ref([])
    // user
    let user = ref(null)

    return {
      classList,

      classListTotal,
      classificationName,
      petDetail,
      historySearch,
      user,
    }
  },
  {
    persist: true,
  },
)
